home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
351-375
/
disk_352
/
mg
/
rexx
/
markrexxfunction.mg
< prev
next >
Wrap
Text File
|
1992-05-06
|
521b
|
30 lines
/*
* First hack at marking a rexx function.
*/
trace ?I
options results
options failat 2
/* Save our current location */
'set-mark'
'rexx-line'
do while left(result, 2) ~= "/*"
'next-line'
if rc ~= 0 then break
'rexx-line'
end
/* Found the top of the next function, or the end of the buffer, so mark it */
'beginning-of-line'
'set-mark'
/* Now, move back to the top of this function */
'previous-line'
'rexx-line'
do while left(result, 2) ~= "/*"
'previous-line'
if rc != 0 then break
'rexx-line'
end
exit 0